package com.example.binpacking.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.binpacking.model.QuestionnaireName;
import com.example.binpacking.model.SubjectView;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface QuestionnaireNameService extends IService<QuestionnaireName> {
    Page<QuestionnaireName> getQuestionnaireNameByPage(BigDecimal isdeleted, int current, int size);


//    boolean updateNameById(BigDecimal id, QuestionnaireName questionnaireName);
//
//    boolean updateIsdeletedById(BigDecimal id, QuestionnaireName questionnaireName);

    int updateByName(BigDecimal id, String name);
    int updateDeletedById(BigDecimal id, BigDecimal isdeleted);
}
